package com.itzhoun.common;

import lombok.*;

/**
 * @author 周楠
 * @Date 2022/04/02/下午 12:41
 */
@Builder(access = AccessLevel.MODULE)
@EqualsAndHashCode()
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Getter
@Setter
public final class Result<T> {

    /**
     * 状态码
     */
    private int code;

    /**
     * 响应消息
     */
    private String message;

    /**
     * 响应数据
     */
    private T data;
}
